﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class AjaxDemos_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        throw new Exception("Owww something gows wrong !! (don't panic this is only for demo :)");
    }
    protected void Button5_Click(object sender, EventArgs e)
    {
        TextBox1.Text = Calendar1.SelectedDate.ToShortDateString();
    }
    protected void BtnCopy_Click(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(1000);
        TxtTarget.Text = TxtSource.Text;
    }
}
